


while (num := int(input("请输入一个数字："))) != 0:
    print(num)
print("退出")